Skip to main content

controlKey

Type

function

Summary

Returns the state of the Control key.

Syntax

the controlKey
controlKey()

Description

Use the controlKey function to check whether the user is pressing the Control key.

Examples

put (the controlKey is up) and (the shiftKey is up) into ctrlShift
if controlKey() is down then go back

glossary: return, function

message: commandKeyDown

constant: down, left, up

function: commandKey, keysDown

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?